from flask import Flask
from flask import request,render_template
app = Flask(__name__)
from spider.spiderObtain import xlSpider
from analyze.analyze import analyze
from api.htmlAPI import htmlAPI
from hotword.hotword import hotwords
app.register_blueprint(xlSpider,url_prefix='/xlSpider')
app.register_blueprint(analyze,url_prefix='/analyze')
app.register_blueprint(hotwords,url_prefix='/hotwords')
app.register_blueprint(htmlAPI,url_prefix='/api')
app.config['JSON_AS_ASCII'] = False
@app.route('/')
def indexHtml():
    return render_template("index.html")
if __name__ == '__main__':
    app.run()
